import { BasicPageParams, BasicFetchResult } from '/@/model/baseModel';
/**
 * @description: Request list interface parameters
 */
export type CourseParams = BasicPageParams;

export interface Course {
  //课程id
  id: number;
  //删除标志 true 删除 false 未删除
  isDeleted: string;
  //状态 NORMAL 正常
  status: string;
  //作者
  author: string;
  //课程内容简介
  content: string;
  //排序
  indexOrder: number;
  //评分
  rating: number;
  //来源
  source: string;
  //课程名称
  title: string;
  //音频id
  audioPath: string;
  //章节数量
  duration: number;
  //视频id
  videoPath: string;
  //课程级别
  courseLevel: string;
  //课程类型
  courseType: string;
  //课程封面图
  coverPath: string;
  //移动端图标
  mobileIconPath: string;
  //授课老师
  teacher: string;
  //所属分类
  tagclassificationId: number;
  //课件
  attachmentPath: string;
  //课程种类
  courseKind: string;
  //课程价格，单位=角
  price: number;
  //管理讲师ID
  spokeTeacherId: number;
  //适用对象，公务员：civilServant，专业人员：professional
  applicableObjects: string;
}

/**
 * @description: Request list return value
 */
export type CourseListGetResultModel = BasicFetchResult<Course>;
